using UnityEngine;
using System.Collections;

public class ManagerStageBlock : MonoBehaviour
{
	public Transform positionToCreateNext = null;
	public Transform minCamera = null, maxCamera = null;
	public Transform positionToStartStage = null;
	public int minEnemiesToEliminate = 0;
	public DetectorCollider detectorPlayerWantNext = null;
	public ManagerAnimationUV doorExitAnimation = null;
	public ManagerAnimationUV doorEenterAnimation = null;
	public Collider enterCollider, exitCollider;
	public ManagerSpawnEnemies mySpawner = null;
	
	public bool Elimined(int count)
	{
		minEnemiesToEliminate -= count;
		
		if(minEnemiesToEliminate < 0)
			return true;
		
		return false;
	}
}
